package indi.kider.server.bill.mapper;

import indi.kider.common.model.bill.BillPrepaidInfo;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface BillPrepaidInfoMapper extends Mapper<BillPrepaidInfo> {

    List<BillPrepaidInfo> getNeedToDeductionBills();

    int insertOrUpdateSelective(BillPrepaidInfo billPrepaidInfo);

    Float queryArrearsTotal(@Param("tenantId") Long tenantId);
}